package com.cnbm.wcsbasic.protocol.netty.modbus.moban;

import com.cnbm.wcsbasic.protocol.netty.io.FGClient;

import java.util.concurrent.ExecutionException;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 * @Desc: ""
 * @Author: caixiang
 * @DATE: 2024-06-07 14:33
 */
public class Main {
    public static void main(String[] args) throws InterruptedException, ExecutionException {
        ExecutorService ddj1LineInExecutorService = Executors.newSingleThreadExecutor();

        ddj1LineInExecutorService.submit(()->{
            System.out.println(FGClient.local.read(DevPlcVar.data));
        }).get();


    }
}
